package com.jbit.hxy.service.menu;


import com.baomidou.mybatisplus.extension.service.IService;
import com.jbit.hxy.common.Result;
import com.jbit.hxy.model.dto.DishFromDTO;
import com.jbit.hxy.model.dto.DishQueryDTO;
import com.jbit.hxy.model.po.WxDish;

/**
* @author 28575
* @description 针对表【wx_dish(菜品)】的数据库操作Service
* @createDate 2024-09-07 16:49:34
*/
public interface WxDishService extends IService<WxDish> {

    Result getDishes(DishQueryDTO dishQueryDTO);

    Result addDishes(DishFromDTO dishFromDTO);

    Result updateDishes(DishFromDTO dishFromDTO);

    Result deleteDishes(Integer id);

    Result getDishBycateId(Integer cateId);

    Result getAllDishes();

    Result getDishDetail(Integer id);

    Result getDishNameById(Integer dishId);
}
